package com.gtq.uhome.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.stereotype.Component;

import java.sql.Timestamp;
import java.util.List;

/**
 * @author ylhy
 * @Describe
 * @create 2020-08-04 21:18
 */
@Data
@ApiModel
@EqualsAndHashCode()
public class OrderInfor {

    @ApiModelProperty(value = "备注")
    private String auditSituation;

    @ApiModelProperty(value = "用户最后编辑时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp editTime;


    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "运单id")
    private String logisticsId;

    @ApiModelProperty(value = "订单id")
    private String id;

    @ApiModelProperty(value = "商品类型状态")
    private Integer categoryType;

    @ApiModelProperty(value = "商品总量")
    private Integer count;

    @ApiModelProperty(value = "消耗物料数量")
    private Integer supCount;

    @ApiModelProperty(value = "商品类型名[商品一级目录名字]")
    private String oneName;

    @ApiModelProperty(value = "订单总价")
    private Double price;

    @ApiModelProperty(value = "订单总重")
    private Double heavy;

    @ApiModelProperty(value = "时效状态")
    private String agingCode;

    @ApiModelProperty(value = "审核状态0:审核通过/ 1:审核中/ 2:审核不通过 审核未通过时不能有相关的派送时间 包装信息 配送员信息 可以有金额和用户和用户与受件人信息")
    private String checkStatus;

    @ApiModelProperty(value = "收件人")
    private String consigneeName;

    @ApiModelProperty(value = "收件人电话")
    private  String  consigneePhoneNumber;

    @ApiModelProperty(value = "配送员")
    private  String staffName;

    @ApiModelProperty(value = "站点派送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp deliveryTime;

    @ApiModelProperty(value = "站点名字")
    private String siteName;

    @ApiModelProperty(value = "站点")
    private Integer siteId;

    @ApiModelProperty(value = "用户")
    private String userName;

    @ApiModelProperty(value = "收件人地址")
    private String consigneeAddress;

    @ApiModelProperty(value = "配送员电话")
    private String staffPhoneNumber;

    @ApiModelProperty(value = "收银台单号")
    private String cashNumber;

    @ApiModelProperty(value = "流水单号")
    private String serialNumber;

    @ApiModelProperty(value = "订单生成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp bronTime;

    @ApiModelProperty(value = "打包物料名称")
    private String supName;

    @ApiModelProperty(value = "配送员取件时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp pickTime;

    @ApiModelProperty(value = "配送员完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp finishTime;

    @ApiModelProperty(value = "签收情况:[0 : 签单完成  1:签单失败,客户不在  2:签单失败客户拒收 2:签单失败包裹外观问题问题  4:签单失败,客户拒收  (对于商品问题,不显示具体内容,因为商家是甲方)]")
    private String signStatus;

    @ApiModelProperty(value = "该运单的商品列表")
    private List<OrderOneToThree> orderOneToThreeList;

/*    private*/
}
/*
* */
